<template>
  <div @click="$router.push(`/Detail/${item.houseCode}`)">
    <!-- 列表内容 -->
<van-cell-group  inset>
  <div class='bgBox'>
<div class='imgSt'><img class='imgS' :src="'http://liufusong.top:8080'+item.houseImg" alt=""></div>
 <div class='txt'>
<h2>{{item.title}}</h2>
 <p>{{item.desc}}</p>
 <span v-for='(item,index) in item.tags' :key='index'>{{item}}</span>
 <p>{{item.price}}<span>元/月</span></p>
 </div>
 </div>
</van-cell-group>
  </div>
</template>

<script>
export default {
  props: {
    item: Object
  },
  methods: {}
}
</script>

<style>
.imgSt{
  width: 106px;
    height: 80px;
}
.imgBox{
  display: inline-block;
}
.bgBox{
  height: 120px;
  display: flex;
}
.imgS{
  width: 100%;
}
.txt{
  font-size:10px;
}
</style>
